package edu.zust.zw.shop.db.dao;

import edu.zust.zw.shop.db.dao.domain.ShopOrderDomain;
import edu.zust.zw.shop.db.dao.domain.ShopOrderDomainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopOrderDomainMapper {
    long countByExample(ShopOrderDomainExample example);

    int deleteByExample(ShopOrderDomainExample example);

    int deleteByPrimaryKey(String orderId);

    int insert(ShopOrderDomain record);

    int insertSelective(ShopOrderDomain record);

    List<ShopOrderDomain> selectByExample(ShopOrderDomainExample example);

    ShopOrderDomain selectByPrimaryKey(String orderId);

    int updateByExampleSelective(@Param("record") ShopOrderDomain record, @Param("example") ShopOrderDomainExample example);

    int updateByExample(@Param("record") ShopOrderDomain record, @Param("example") ShopOrderDomainExample example);

    int updateByPrimaryKeySelective(ShopOrderDomain record);

    int updateByPrimaryKey(ShopOrderDomain record);
}